package sz.szsmk.citizencard.mvp.contract;

import sz.szsmk.citizencard.model.network.bean.response.BaseBean;
import sz.szsmk.citizencard.model.network.bean.response.QueryStandLinesRes;
import sz.szsmk.citizencard.ui.base.IBaseContact;

/**
 * Copyright (c)2018
 * author: zdh
 * created on: 2018/6/4 19:59
 * description:
 */
public interface IBusSiteDetailContact {

    interface IBusSiteDetailPresenter<T extends IBaseContact.IBaseView> extends IBaseContact.IBasePresenter {

        void getSearchList(String s, String keyword);

        void collectStand(String stand_guid, String stand_name);

        void cancelCollectStand(String stand_guid, String stand_name);

    }

    interface IBusSiteDetailView extends IBaseContact.IBaseView {

        void getSearchListSucc(QueryStandLinesRes response);

        void getSearchListFail(QueryStandLinesRes response);

        void collectStandFail(BaseBean response);

        void collectStandSucc(BaseBean response);

        void cancelCollectStandFail(BaseBean response);

        void cancelCollectStandSucc(BaseBean response);

    }

}
